<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="../../common/tag.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>菜单列表</title>
<link href="<%=basePath %>/resource/css/frame.css" type=text/css rel=stylesheet>
</head>
<body>
<table cellSpacing=1 cellPadding=3 width="99%" bgColor=#6298e1 border=0>
	  <tr>
	     <td height=25 class="specialTd">
	       	<span class="whiteWord">菜单管理：菜单列表</span>
	    </td>
	  </tr>
	  <tr>
	    <td  bgColor=#ebf2f9 height=30>
	    </td>
	 </tr>
</table>
<table class="spaceTable">
  <tr>
    <td height=10></td>
  </tr>
</table>
<table cellSpacing=1 cellPadding=3 width="99%" bgColor=#6298e1 border=0>
	<tr>
    	<td align=right bgColor=#ebf2f9 colSpan=13 height=25>
    		<input type="button" class="textfield"  value="增加" onclick="window.location.href='<%=basePath%>/menu/preAddMenu.action'"/>
    	</td>
    </tr>
	<tr>
		<td class="headTd">序号</td>
		<td class="headTd">菜单名称</td>
		<td class="headTd">URL</td>
		<td class="headTd">上级菜单</td>
		<td class="headTd">所属部门</td>
		<td class="headTd">操作</td>
	</tr>
	<s:iterator value="menuList">
	<tr onmouseover="this.style.backgroundColor = '#FFFFFF'"  onmouseout="this.style.backgroundColor = ''" id="detailRow">
		<td>${ID}</td>
		<td>${MENU_NAME}</td>
		<td>${MENU_URL}</td>
		<td>${P_MENU_NAME}</td>
		<td>${DEPT_NAME}</td>
		<td><a href="<%=basePath%>/menu/preUpdateMenu.action?menuId=<s:property value='ID'/>">修改</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<%=basePath%>/menu/deleteMenu.action?menuId=<s:property value='ID'/>">删除</a></td>
	</tr>
	</s:iterator>
</table>
</body>
</html>